package com.ssm.service;

import java.util.HashMap;
import java.util.List;

import com.github.pagehelper.Page;
import com.ssm.model.AssessPlanModel;
import com.ssm.model.LoginInfo;
import com.ssm.model.ProfessorModel;
import com.ssm.model.TeacherModel;

public interface ProfessorService {
	/*admin*/
	//显示专家列表
	Page<ProfessorModel> selectProfessor(Integer pageNum,String professorName);
	//查询所有
	List<ProfessorModel> selectAll();
	//根据id查询
	ProfessorModel selectById(Integer pId);

	/*front*/
	Integer updateInfo(ProfessorModel professorModel);
	//更新验证码
	Integer updateVerifyByEmail(Integer pId,String email,String verify);
	//验证验证码
	Integer checkVerify(Integer pId,String email,String verify);
	//评估管理-查看教师 ByPid
	Page<TeacherModel> selectTeacherByPid(Integer pId,Integer pageNum);
	//评估管理-查看评估安排
	AssessPlanModel selectAssessPlanByTid(Integer tId);
}
